public class Teilnehmer
{
	private String name;
	private int alter;
	private int yearBeitritt;
	
	public Teilnehmer(String name, int alter, int year)
	{
		this.name = name;
		this.alter = alter;
		this.yearBeitritt = year;
	}
	
	public String getName()
	{
		return name;
	}
	
	public int getAlter()
	{
		return alter;
	}
	
	public int getYear()
	{
		return yearBeitritt;
	}
}
		